<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>第一次作业</title>
    <script>
       var msg = prompt("请输入你的信息");
        document.write(msg);
      </script>
</head>
<body>

</body>
</html>